package src.test.client.view;

import src.test.client.presenter.ConcatPresenter.View;

import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.TextBox;

//recordar implementar la interface del presenter y asociar los componentes
public class ConcatView extends AbsolutePanel implements View{
	
	private Button sendButton ;
	private TextBox texto1 ;
	private TextBox texto2 ;
	public ConcatView() {
		// TODO Auto-generated constructor stub
		init();
		
	
	}
	private void init() {
		// TODO Auto-generated method stub
		 sendButton = new Button("Concatenar");
		 texto1 = new TextBox();
		 texto2 = new TextBox();
		 this.add(texto1);
		 this.add(texto2);
		 this.add(sendButton);
	}
	@Override
	public Button getSendButton() {
		// TODO Auto-generated method stub
		return sendButton;
	}
	@Override
	public TextBox getTextBox1() {
		// TODO Auto-generated method stub
		return texto1;
	}
	@Override
	public TextBox getTextBox2() {
		// TODO Auto-generated method stub
		return texto2;
	}



}
